TreeGridLoaded ({ /* JSONP header, to be possible to load from xxx_Jsonp data source */ 
   "Cfg" : { "id": "Paging", "NoHScroll": "1", "IdChars": "0123456789", "NumberId": "1", "SuppressCfg": "1"   }, 
   "Cfg_2" : { "Paging": "2", "PageLength": "10", "MaxPages": "20"   }, 
   "Cfg_3" : { "Sort": "R,C", "AutoSort": "1"   }, 
   "Cfg_4" : { "Group": "R", "Grouped": "0", "GroupMain": "C", "GroupRestoreSort": "1"   }, 
   "Pager" : { "Width": "300"   }, 
   "Cols" : [ 
      { "Name": "id", "Type": "Int", "CanEdit": "0", "Width": "48"   }, 
      { "Name": "R", "Type": "Text", "CaseSensitive": "0", "Width": "180"   }, 
      { "Name": "C", "Type": "Text", "CaseSensitive": "0", "Width": "150", "GroupWidth": "280"   }, 
      { "Name": "N", "Type": "Int", "Width": "63"   }  
   ], 
   "Def" : [ { "Name": "Group", "idVisible": "0", "Calculated": "1", "NFormula": "sum()"   }  ], 
   "Solid" : [ 
      { "Kind": "Tabber", "Cells": "NONE,ONE,ALL,DEMAND", "Space": "5", 
         "NONEType": "Button", "NONESwitch": "1", "NONERadio": "1", "NONEButton": "Tab", "NONEButtonText": "No paging", 
         "NONEFormula": "Grid.Paging==0", "NONETip": "Sets Paging = 0<br>The rows are not paged at all", 
         "NONEOnCheck": "Grid.Paging = 0; Grid.CreatePages(); Grid.Rows.PAGER.Visible = 0; Grid.Render();", 
         "ONEType": "Button", "ONESwitch": "1", "ONERadio": "1", "ONEButton": "Tab", "ONEButtonText": "One page at a time", 
         "ONEFormula": "Grid.Paging && !Grid.AllPages", "ONETip": "Sets Paging = 2; AllPages = 0 <br>Displays only one page in grid at a time", 
         "ONEOnCheck": "Grid.AllPages = 0; if(!Grid.Paging) { Grid.Paging = 2; Grid.CreatePages(); Grid.Rows.PAGER.Visible = 1; Grid.Render(); } else { Grid.Paging = 2; Grid.RenderBody(); }", 
         "ALLType": "Button", "ALLSwitch": "1", "ALLRadio": "1", "ALLButton": "Tab", "ALLButtonText": "All pages on start", 
         "ALLFormula": "Grid.Paging==1 && Grid.AllPages", "ALLTip": "Sets Paging = 1; AllPages = 1<br>Shows all pages in grid at once and renders them all on start and also after any change in sort / group / filter / search setting", 
         "ALLOnCheck": "if(!Grid.Paging) { Grid.Paging = 1; Grid.AllPages = 1; Grid.CreatePages(); Grid.Rows.PAGER.Visible = 1; Grid.Render(); } else { Grid.Paging = 1; if(Grid.AllPages) Grid.ShowPages(); else { Grid.AllPages = 1; Grid.RenderBody(); } }", 
         "DEMANDType": "Button", "DEMANDSwitch": "1", "DEMANDRadio": "1", "DEMANDButton": "Tab", "DEMANDButtonText": "Pages on demand", 
         "DEMANDFormula": "Grid.Paging==2 && Grid.AllPages", "DEMANDTip": "Sets Paging = 2; AllPages = 1;<br>Shows all pages in grid at once, but renders the page only if it becomes visible due scroll", 
         "DEMANDOnCheck": "if(!Grid.Paging) { Grid.Paging = 2; Grid.AllPages = 1; Grid.CreatePages(); Grid.Rows.PAGER.Visible = 1; Grid.Render(); } else { Grid.Paging = 2; if(Grid.AllPages) Grid.ShowPages(); else { Grid.AllPages = 1; Grid.RenderBody(); } }"  
          }, 
      { "id": "PAGER", "Cells": "NAV,LIST,COUNT,GROUP", "Space": "4", 
         "NAVType": "Pager", 
         "LISTType": "Pages", "LISTRelWidth": "1", "LISTAlign": "left", "LISTLeft": "10", 
         "COUNTType": "Int", "COUNTWidth": "20", "COUNTFormula": "Grid.PageLength", "COUNTLabel": "Rows per page", "COUNTCanEdit": "1", "COUNTOnChange": "Grid.PageLength=Value<5?5:(Value>500?500:Value); Grid.CreatePages(); Grid.Render();", 
         "GROUPType": "Bool", "GROUPLabel": "Group rows", "GROUPOnChange": "GroupOn || GroupOff", "GROUPCanFocus": "0"  
          }  
   ], 
   "Head" : [ 
      { "Kind":"Filter", "idVisible": "0", "RRange": "1", "RButton": "Defaults", "RDefaults": "|*FilterOff|*RowsAll", "RShowMenu": "0", "RDefaultFilter": "1", "RCanEdit": "0"   }  
   ], 
   "Header" : { "id": "id", "R": "Region", "C": "Country", "N": "Num"   }, 
   "Toolbar" : { "Formula": "'Rows: <b>'+count()+'</b>, Num sum:<b>'+sum('N')+'</b>'", "Scales": "0"   }, 
   
   "Body" : [ 
      [ 
         { "id": "1", "R": "Central & South Asia", "C": "ARMENIA", "N": "3"   }, 
         { "id": "2", "R": "Central & South Asia", "C": "AZERBAIJAN", "N": "4"   }, 
         { "id": "3", "R": "Central & South Asia", "C": "BANGLADESH", "N": "2"   }, 
         { "id": "4", "R": "Central & South Asia", "C": "INDIA", "N": "5"   }, 
         { "id": "5", "R": "Central & South Asia", "C": "KAZAKSTAN", "N": "6"   }, 
         { "id": "6", "R": "Central & South Asia", "C": "PAKISTAN", "N": "3"   }, 
         { "id": "7", "R": "Central & South Asia", "C": "SRI LANKA", "N": "8"   }, 
         { "id": "8", "R": "East Asia & the Pacific", "C": "AUSTRALIA", "N": "9"   }, 
         { "id": "9", "R": "East Asia & the Pacific", "C": "BRUNEI", "N": "7"   }, 
         { "id": "10", "R": "East Asia & the Pacific", "C": "CHINA", "N": "0"   }, 
         { "id": "11", "R": "East Asia & the Pacific", "C": "HONG KONG", "N": "0"   }, 
         { "id": "12", "R": "East Asia & the Pacific", "C": "INDONESIA", "N": "9"   }, 
         { "id": "13", "R": "East Asia & the Pacific", "C": "JAPAN", "N": "6"   }, 
         { "id": "14", "R": "East Asia & the Pacific", "C": "KOREA, DPR", "N": "4"   }, 
         { "id": "15", "R": "East Asia & the Pacific", "C": "MALAYSIA", "N": "3"   }, 
         { "id": "16", "R": "East Asia & the Pacific", "C": "MONGOLIA", "N": "2"   }, 
         { "id": "17", "R": "East Asia & the Pacific", "C": "MYANMAR", "N": "1"   }, 
         { "id": "18", "R": "East Asia & the Pacific", "C": "NEW ZEALAND", "N": "5"   }, 
         { "id": "19", "R": "East Asia & the Pacific", "C": "PAPUA NEW GUINEA", "N": "4"   }, 
         { "id": "20", "R": "East Asia & the Pacific", "C": "PHILIPPINES", "N": "5"   }, 
         { "id": "21", "R": "East Asia & the Pacific", "C": "SINGAPORE", "N": "3"   }, 
         { "id": "22", "R": "East Asia & the Pacific", "C": "SOUTH KOREA", "N": "1"   }, 
         { "id": "23", "R": "East Asia & the Pacific", "C": "TAIWAN", "N": "2"   }, 
         { "id": "24", "R": "East Asia & the Pacific", "C": "THAILAND", "N": "7"   }, 
         { "id": "25", "R": "East Asia & the Pacific", "C": "VIETNAM", "N": "6"   }, 
         { "id": "26", "R": "East Europe", "C": "ALBANIA", "N": "5"   }, 
         { "id": "27", "R": "East Europe", "C": "BELARUS", "N": "2"   }, 
         { "id": "28", "R": "East Europe", "C": "BULGARIA", "N": "8"   }, 
         { "id": "29", "R": "East Europe", "C": "CROATIA", "N": "5"   }, 
         { "id": "30", "R": "East Europe", "C": "CZECH REPUBLIC", "N": "1"   }, 
         { "id": "31", "R": "East Europe", "C": "ESTONIA", "N": "0"   }, 
         { "id": "32", "R": "East Europe", "C": "HUNGARY", "N": "7"   }, 
         { "id": "33", "R": "East Europe", "C": "LATVIA", "N": "5"   }, 
         { "id": "34", "R": "East Europe", "C": "LITHUANIA", "N": "4"   }, 
         { "id": "35", "R": "East Europe", "C": "MOLDOVA", "N": "1"   }, 
         { "id": "36", "R": "East Europe", "C": "POLAND", "N": "9"   }, 
         { "id": "37", "R": "East Europe", "C": "ROMANIA", "N": "3"   }, 
         { "id": "38", "R": "East Europe", "C": "RUSSIA", "N": "4"   }, 
         { "id": "39", "R": "East Europe", "C": "SERBIA-MONTENEGRO", "N": "5"   }, 
         { "id": "40", "R": "East Europe", "C": "SLOVAK REPUBLIC", "N": "6"   }, 
         { "id": "41", "R": "East Europe", "C": "SLOVENIA", "N": "5"   }, 
         { "id": "42", "R": "East Europe", "C": "UKRAINE", "N": "2"   }, 
         { "id": "43", "R": "Middle East & North Africa", "C": "ALGERIA", "N": "1"   }, 
         { "id": "44", "R": "Middle East & North Africa", "C": "BAHRAIN", "N": "0"   }, 
         { "id": "45", "R": "Middle East & North Africa", "C": "EGYPT", "N": "0"   }, 
         { "id": "46", "R": "Middle East & North Africa", "C": "IRAN", "N": "9"   }, 
         { "id": "47", "R": "Middle East & North Africa", "C": "IRAQ", "N": "8"   }, 
         { "id": "48", "R": "Middle East & North Africa", "C": "ISRAEL", "N": "7"   }, 
         { "id": "49", "R": "Middle East & North Africa", "C": "JORDAN", "N": "4"   }, 
         { "id": "50", "R": "Middle East & North Africa", "C": "KUWAIT", "N": "3"   }, 
         { "id": "51", "R": "Middle East & North Africa", "C": "LEBANON", "N": "8"   }, 
         { "id": "52", "R": "Middle East & North Africa", "C": "LIBYA", "N": "2"   }, 
         { "id": "53", "R": "Middle East & North Africa", "C": "MOROCCO", "N": "5"   }, 
         { "id": "54", "R": "Middle East & North Africa", "C": "OMAN", "N": "6"   }, 
         { "id": "55", "R": "Middle East & North Africa", "C": "QATAR", "N": "7"   }, 
         { "id": "56", "R": "Middle East & North Africa", "C": "SAUDI ARABIA", "N": "8"   }, 
         { "id": "57", "R": "Middle East & North Africa", "C": "SYRIA", "N": "5"   }, 
         { "id": "58", "R": "Middle East & North Africa", "C": "TUNISIA", "N": "4"   }, 
         { "id": "59", "R": "Middle East & North Africa", "C": "UAE", "N": "3"   }, 
         { "id": "60", "R": "Middle East & North Africa", "C": "YEMEN", "N": "8"   }, 
         { "id": "61", "R": "North & Central America", "C": "BAHAMAS", "N": "3"   }, 
         { "id": "62", "R": "North & Central America", "C": "CANADA", "N": "2"   }, 
         { "id": "63", "R": "North & Central America", "C": "COSTA RICA", "N": "9"   }, 
         { "id": "64", "R": "North & Central America", "C": "CUBA", "N": "8"   }, 
         { "id": "65", "R": "North & Central America", "C": "DOMINICAN REPUBLIC", "N": "5"   }, 
         { "id": "66", "R": "North & Central America", "C": "EL SALVADOR", "N": "4"   }, 
         { "id": "67", "R": "North & Central America", "C": "GUATEMALA", "N": "5"   }, 
         { "id": "68", "R": "North & Central America", "C": "HAITI", "N": "6"   }, 
         { "id": "69", "R": "North & Central America", "C": "HONDURAS", "N": "2"   }, 
         { "id": "70", "R": "North & Central America", "C": "JAMAICA", "N": "1"   }, 
         { "id": "71", "R": "North & Central America", "C": "MEXICO", "N": "9"   }, 
         { "id": "72", "R": "North & Central America", "C": "NICARAGUA", "N": "8"   }, 
         { "id": "73", "R": "North & Central America", "C": "PANAMA", "N": "7"   }, 
         { "id": "74", "R": "North & Central America", "C": "TRINIDAD & TOBAGO", "N": "5"   }, 
         { "id": "75", "R": "North & Central America", "C": "UNITED STATES", "N": "4"   }, 
         { "id": "76", "R": "South America", "C": "ARGENTINA", "N": "3"   }, 
         { "id": "77", "R": "South America", "C": "BOLIVIA", "N": "5"   }, 
         { "id": "78", "R": "South America", "C": "BRAZIL", "N": "9"   }, 
         { "id": "79", "R": "South America", "C": "CHILE", "N": "3"   }, 
         { "id": "80", "R": "South America", "C": "COLOMBIA", "N": "4"   }, 
         { "id": "81", "R": "South America", "C": "ECUADOR", "N": "2"   }, 
         { "id": "82", "R": "South America", "C": "GUYANA", "N": "3"   }, 
         { "id": "83", "R": "South America", "C": "PARAGUAY", "N": "6"   }, 
         { "id": "84", "R": "South America", "C": "PERU", "N": "4"   }, 
         { "id": "85", "R": "South America", "C": "SURINAME", "N": "5"   }, 
         { "id": "86", "R": "South America", "C": "URUGUAY", "N": "2"   }, 
         { "id": "87", "R": "South America", "C": "VENEZUELA", "N": "9"   }, 
         { "id": "88", "R": "Sub-Saharan Africa", "C": "ANGOLA", "N": "6"   }, 
         { "id": "89", "R": "Sub-Saharan Africa", "C": "BOTSWANA", "N": "3"   }, 
         { "id": "90", "R": "Sub-Saharan Africa", "C": "BURKINA FASO", "N": "2"   }, 
         { "id": "91", "R": "Sub-Saharan Africa", "C": "CAMEROON", "N": "3"   }, 
         { "id": "92", "R": "Sub-Saharan Africa", "C": "CONGO", "N": "8"   }, 
         { "id": "93", "R": "Sub-Saharan Africa", "C": "CONGO DR", "N": "1"   }, 
         { "id": "94", "R": "Sub-Saharan Africa", "C": "COTE D'IVOIRE", "N": "2"   }, 
         { "id": "95", "R": "Sub-Saharan Africa", "C": "ETHIOPIA", "N": "0"   }, 
         { "id": "96", "R": "Sub-Saharan Africa", "C": "GABON", "N": "7"   }, 
         { "id": "97", "R": "Sub-Saharan Africa", "C": "GAMBIA", "N": "6"   }, 
         { "id": "98", "R": "Sub-Saharan Africa", "C": "GHANA", "N": "3"   }, 
         { "id": "99", "R": "Sub-Saharan Africa", "C": "GUINEA", "N": "2"   }, 
         { "id": "100", "R": "Sub-Saharan Africa", "C": "GUINEA-BISSAU", "N": "4"   }, 
         { "id": "101", "R": "Sub-Saharan Africa", "C": "KENYA", "N": "3"   }, 
         { "id": "102", "R": "Sub-Saharan Africa", "C": "LIBERIA", "N": "4"   }, 
         { "id": "103", "R": "Sub-Saharan Africa", "C": "MADAGASCAR", "N": "3"   }, 
         { "id": "104", "R": "Sub-Saharan Africa", "C": "MALAWI", "N": "2"   }, 
         { "id": "105", "R": "Sub-Saharan Africa", "C": "MALI", "N": "4"   }, 
         { "id": "106", "R": "Sub-Saharan Africa", "C": "MOZAMBIQUE", "N": "5"   }, 
         { "id": "107", "R": "Sub-Saharan Africa", "C": "NAMIBIA", "N": "8"   }, 
         { "id": "108", "R": "Sub-Saharan Africa", "C": "NIGER", "N": "8"   }, 
         { "id": "109", "R": "Sub-Saharan Africa", "C": "NIGERIA", "N": "7"   }, 
         { "id": "110", "R": "Sub-Saharan Africa", "C": "SENEGAL", "N": "9"   }, 
         { "id": "111", "R": "Sub-Saharan Africa", "C": "SIERRA LEONE", "N": "0"   }, 
         { "id": "112", "R": "Sub-Saharan Africa", "C": "SOMALIA", "N": "7"   }, 
         { "id": "113", "R": "Sub-Saharan Africa", "C": "SOUTH AFRICA", "N": "6"   }, 
         { "id": "114", "R": "Sub-Saharan Africa", "C": "SUDAN", "N": "4"   }, 
         { "id": "115", "R": "Sub-Saharan Africa", "C": "TANZANIA", "N": "4"   }, 
         { "id": "116", "R": "Sub-Saharan Africa", "C": "TOGO", "N": "5"   }, 
         { "id": "117", "R": "Sub-Saharan Africa", "C": "UGANDA", "N": "8"   }, 
         { "id": "118", "R": "Sub-Saharan Africa", "C": "ZAMBIA", "N": "2"   }, 
         { "id": "119", "R": "Sub-Saharan Africa", "C": "ZIMBABWE", "N": "5"   }, 
         { "id": "120", "R": "West Europe", "C": "AUSTRIA", "N": "6"   }, 
         { "id": "121", "R": "West Europe", "C": "BELGIUM", "N": "4"   }, 
         { "id": "122", "R": "West Europe", "C": "CYPRUS", "N": "5"   }, 
         { "id": "123", "R": "West Europe", "C": "DENMARK", "N": "6"   }, 
         { "id": "124", "R": "West Europe", "C": "FINLAND", "N": "7"   }, 
         { "id": "125", "R": "West Europe", "C": "FRANCE", "N": "8"   }, 
         { "id": "126", "R": "West Europe", "C": "GERMANY", "N": "3"   }, 
         { "id": "127", "R": "West Europe", "C": "GREECE", "N": "1"   }, 
         { "id": "128", "R": "West Europe", "C": "ICELAND", "N": "3"   }, 
         { "id": "129", "R": "West Europe", "C": "IRELAND", "N": "6"   }, 
         { "id": "130", "R": "West Europe", "C": "ITALY", "N": "4"   }, 
         { "id": "131", "R": "West Europe", "C": "LUXEMBOURG", "N": "3"   }, 
         { "id": "132", "R": "West Europe", "C": "MALTA", "N": "2"   }, 
         { "id": "133", "R": "West Europe", "C": "NETHERLANDS", "N": "1"   }, 
         { "id": "134", "R": "West Europe", "C": "NORWAY", "N": "4"   }, 
         { "id": "135", "R": "West Europe", "C": "PORTUGAL", "N": "5"   }, 
         { "id": "136", "R": "West Europe", "C": "SPAIN", "N": "6"   }, 
         { "id": "137", "R": "West Europe", "C": "SWEDEN", "N": "7"   }, 
         { "id": "138", "R": "West Europe", "C": "SWITZERLAND", "N": "8"   }, 
         { "id": "139", "R": "West Europe", "C": "TURKEY", "N": "9"   }, 
         { "id": "140", "R": "West Europe", "C": "UNITED KINGDOM", "N": "3"   }  
      ], 
   ], 
}) /* End of JSONP header */ 